<table id="dataTable">
    <thead>
    <tr>
        <th>ID</th>
        <th>手机/用户名</th>
        <th>邮箱</th>
        <th>用户类型</th>
        <th>冻结/通过</th>
        <th>查看详情</th>
        <th>查看交易明细</th>
        <!--        <th>操作（修改/删除）</th>-->
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><?php echo $r['member']['id']?></td>
        <td><?php echo $r['member']['username']?></td>
        <td><?php echo $r['member']['email']?></td>
        <td><?php foreach($r['userType'] as $k=>$g){?>
                <?php if($r['member']['type']==$k)echo $g;?>
            <?php }?></td>
        <td><?php if($r['member']['enable']==1){?>  <?php echo "已通过/";}else{?>  <a href="<?php e_action("checkPass","id={$r['member']['id']}")?>">通过</a> <?php }?>   <?php if($r['member']['enable']==1){?>    <a href="<?php e_action("checkCancel","id={$r['member']['id']}")?>">冻结</a><?php }?></td>
        <td><a href='<?php e_action("memberDetail","id={$r['member']['id']}");?>'>查看详情</a></td>
        <td><a href='<?php e_action("tradeDetail","user_id={$r['member']['id']}")?>'>查看交易明细</a></td>
    </tr>
    </tbody>
</table>
